package observer;

/**
 * @Author: Ma JiBin
 * @Email: 1423553596@qq.com
 * @Date: 2018/9/13 10:13
 * @Description: 观察者抽象类
 */
public abstract class Observer {
    public Subject subject;

    /**
     * 更新被观察对象方法
     */
    public abstract void update();
}
